;Info [ Npc Name{WickedTrader} X=4 Y=6 MapName={WickedShop} ]
(@buy @sell @repair)
;NPC Release 1 (2003) By Geoff
;99% Translated NPCs Including Quests

;Settings
%180
+30
+0
+3
+5
+6
+10
+11
+45

;General Store
[@main]
#IF
random 2
#ACT
goto @QUEST
#ELSEACT
goto @normal

[@QUEST]
#IF
check [353] 1 
#ACT
goto @Q353
break
#IF
check [352] 1
checkitemw ն 1
#ACT
goto @Q352
#ELSEACT
goto @normal

[@normal]
Welcome, how may I help you?\ \
 <Buy/@buy> item\
 <Sell/@sell> item\
 <Repair/@repair> item\
 <Cancel/@exit>

[@Q352]
#IF
#ACT
takew ն 1
give gold 100
SET [353] 1
#SAY
Ha ha, what thing do you cut Ma Dao are? Do\
you want to use this to cut the horse knife deceive me?\
thank you, I or uses it.\
embarrassed takes in vain, for you 100 minute, you must thank me.\
also has you goes the numerous water grocery.\ \
<Close/@exit>

[@Q353]
#IF
#SAY
Quickly has a look the numerous water grocery.\ \
<Close/@exit>


[@buy]
Which items do you need?\ \ \
 <Back/@main>

[@sell]
We buy Candles, Weapons, Armour, Scrolls, RepairOils, Pots etc.\
 <Back/@main>

[@repair]
Would you like to repair your item?\
 <Back/@main>

[~@repair]
Your Item seems to be repaired fine.\ \
 <Back/@main>


[goods]
;Item		Amount		Time
(HP)DrugSmall	200		1	
(MP)DrugSmall	200		1
(HP)DrugMedium	200		1
(MP)DrugMedium	200		1
WoodenSword     100         	1
Dagger		100		1
EbonySword	100		1	
BronzeSword	100		1 
ShortSword 	100		1
Ironsword	100		1
BronzeAxe	100		1
Trident		100		1
HookedSword	100		1
Scimitar	100		1
SteelSword	100		1
Candle		100		1
Timber		100		1
Dice		100		1
DungeonEscape	100		1
RandomTeleport	100		1
BaseDress(M)	100		1
BaseDress(F)	100		1
LightArmour(M)	100		1
LightArmour(F)	100		1
Amulet		200	1
Amulet(M)	200	1
AmuletBundle	200	1
GreyPoison(S)    200     1
GreyPoison(M)    200     1
GreyPoison(L)    200     1
YellowPoison(S)    200     1
YellowPoison(M)    200     1
YellowPoison(L)    200     1